package ui.activity.home.module;


import dagger.Module;
import dagger.Provides;
import ui.activity.home.biz.PickMachineBiz;
import ui.activity.home.contract.PickMachineContract;

/**
 * Created by chenjian on 19/2/26
 */
@Module
public class PickMachineModule {
    private PickMachineContract.View view;

    public PickMachineModule(PickMachineContract.View view) {
        this.view = view;
    }

    @Provides
    public PickMachineContract.View provideView() {
        return view;
    }

    @Provides
    public PickMachineBiz provideBiz() {
        return new PickMachineBiz();
    }
}